package org.myspringmvc.web.constant;

/**
 * @Author 海晨忆
 * @Des 常量类
 * @Date 2025/7/17 14:16
 */
public class Const {
    //springmvc.xml中配置DispatchServlet的初始化参数的 contextConfigLocation的名字
    public static final String CONTEXT_CONFIG_LOCATION = "contextConfigLocation";
    //contextConfigLocation的前缀
    public static final String PRE_CLASSPATH = "classpath:";
    //获取webApplicationContext对象的key
    public static final String WEB_APPLICATION_CONTEXT = "webApplicationContext";
    //默认的包名
    public static final String DEFAULT_PACKAGE = "org.myspringmvc.web.servlet.mvc.method.annotation";
    public static final String BASE_PACKAGE = "base-package";
    public static final String SUFFIX_CLASS = ".class";
    public static final String VIEW_RESOLVER = "ViewResolver";
    public static final String INTERCEPTORS = "interceptors";
    public static final String HANDLER_MAPPING = "handlerMapping";
    public static final String HANDLER_ADAPTER = "handlerAdapter";
}
